<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>成绩查看</title>
    <link rel="stylesheet" href="../../static/lib/bootstrap-3.3.5-dist/css/bootstrap.css">
    <link rel="stylesheet" href="../../static/css/stuInfor.css">
    <link rel="stylesheet" href="../../static/font/iconfont.css">
    <link rel="stylesheet" href="../../static/css/authorityManage.css">
</head>
<body>
<!-- 内容区域 -->
<div class="stuInfor_content container-fluid">
    <div class="row">
        <!-- 显示成绩基本信息 -->
        <div class="row">
            <div class="stuInfor_table col-md-12 col-lg-12">
                <table  class="table table-hover table-bordered table-striped">
                    <tr>
                        <th style="text-align: center">学生姓名</th>
                        <c:if test="${type==1}"><th style="text-align: center">语文</th></c:if>
                        <c:if test="${type==2}"><th style="text-align: center">数学</th></c:if>
                        <c:if test="${type==3}"><th style="text-align: center">英语</th></c:if>
                        <th style="text-align: center">排名</th>
                    </tr>
                    <tbody>
                    <c:forEach items="${reports}" var="r">
                        <tr>
                            <td>${r.user.uName}</td>
                            <td>${r.rScore}</td>
                            <td>${r.tRank}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
                <h3 align="center"><span>${msg}</span></h3>
            </div>
        </div>
    </div>

</div>
</div>
<script src="../../static/lib/bootstrap-3.3.5-dist/js/jquery-1.11.3.js"></script>
<script src="../../static/lib/bootstrap-3.3.5-dist/js/bootstrap.js"></script>
<script src="../../static/js/DATE_index.js"></script>
<script src="../../static/js/authorityManage.js"></script>
</body>
</html>
